package com.gl.blank.jarservices.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;

/**
 * Contains user data.
 */
@Entity(name = "USERS")
public class User
{
    @Id
    @Column
    private String name;

    /**
     * Returns user name. Every user must have unique name.
     */
    public String getName()
    {
        return name;
    }

    /**
     * Sets user name. Every user must have unique name.
     */
    public void setName(String name)
    {
        this.name = name;
    }
}
